package com.cskaoyan.service.wxorder_service;

import com.cskaoyan.bean.BaseData;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.order.MarketOrderGoods;
import com.cskaoyan.bean.order.wxbean.CommentBO;
import com.cskaoyan.bean.order.wxbean.OrderDetail;
import com.cskaoyan.bean.order.wxbean.OrderListVO;
import com.cskaoyan.bean.order.wxbean.submit.SubmitBO;
import com.cskaoyan.bean.order.wxbean.submit.SubmitVO;

/**
 * @author Hu
 * @create 2021-09-19 11:39
 * @Description
 */
public interface WXOrderService {
    BaseData<OrderListVO> list(BaseParam baseParam, Integer showType, Integer userid);

    OrderDetail detail(Integer orderId);

    int delete(Integer orderId);

    int cancel(Integer orderId);

    int confirm(Integer orderId);

    int refund(Integer orderId);

    void comment(CommentBO comment);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    SubmitVO submit(SubmitBO submitBO);
}
